<%@ page language="java" contentType="text/html; charset=UTF-8" %>
<%@ include file="/jsplib/pubhead.jsp"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
	<TITLE>注册成功，发送EMAIL:i友邻社区</TITLE>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
	<meta http-equiv="x-ua-compatible" content="ie=7" />
	<link rel="stylesheet" type="text/css" href="${cpath}/css/main.css" />
	<link rel="stylesheet" type="text/css" href="${cpath}/css/layout.css" />
	<link rel="stylesheet" type="text/css" href="${cpath}/css/navoper.css" />
	
</head>
<body>

 <div id="warp"><!--外套-->

	<!--LOGO和菜单信息 -->   
	<%@ include file="/user/unregmenu.jsp"%>
    
	<div id="mainBody"><!--mainBody-->

		<div class="right"><!--right-->

		<!-- 右侧宽栏 {{{ -->
		<DIV class=profile_mid>
		<DIV class=content><!-- 右侧宽栏 }}}-->

		<!--  {{{  -->
		<UL class=top>
			<LI><STRONG>邮件重新发送成功</STRONG>&nbsp;
				<SPAN><a >&nbsp;</a></SPAN>	
			</LI>
		</UL><!--   }}}-->

		<!--  {{{  -->	
			<UL class=detailinfo>
 			<form action="${cpath}/users.do?action=sendEmail" name="theForm"  method="post" >

				<LI><EM>
					我们重新发送了一封确认邮件到${theForm.email}，请点击邮件中的确认链接，完成注册。</EM></LI>
				<LI><EM>
					<input type="button" name="con"  id="con" onclick="javascript:doConfirm();" class="longBtn" value="去我的邮箱确认"/>&nbsp;</EM></LI>
				<LI><EM>没有收到验证邮件怎么办？</EM></LI>		
				<LI><EM>
				（1）请看看是否在您邮箱的广告邮件或垃圾邮件目录里</EM></LI>
				<LI><EM>
				（2）试试<a href="javascript:sendEmail();"> 重发验证邮件</a></EM></LI>
				<!--隐藏域-->
				<input type="hidden" name='userID'		value='${theForm.userID}'/>
				<input type="hidden" name='email'			value='${theForm.email}'/>

			</form>
			</UL><!--结束 }}}-->

		</DIV>
		</DIV><!--  }}} -->

		</DIV><!--  left end}}} -->

		</DIV>
		<!--页尾 -->
		<%@ include file="/indexfoot.jsp"%>
</DIV>
</body>
</html>
<!---->
<script>
  /**
   * 检查项目资料维护
   */
	function doConfirm()
	{

		var form = document.theForm;

		var email = form['email'].value;

		var pos = email.indexOf("@");

		var webaddr = "http://www."+email.substring(parseInt(pos)+1);
		
		window.location.href(webaddr); 

	}
	
	/**
   * 根据具体请求设置各个组件状态	
   */
  function sendEmail()
	{
		var form = document.theForm;		

    form.submit();

	}

</script>

